/**
 * @Title: ParmsModel.java
 * @Description: 用一句话描述该文件做什么
 * @author zhangxin
 * @date 2019年3月27日
 */
package com.fortune.rainshinecommon.base;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: ParmsModel
 * @Description: 这里用一句话描述这个类的作用
 * @author zhangxin
 * @date 2019年3月27日
 */
public class ParmsModel implements Serializable {

	private static final long serialVersionUID = 3833436596492892177L;
	
	private Integer page = 1;
	private Integer limit = 20;
	private String searchKey;//后台搜索字段
	private String searchValue;//后台搜索字段的值
	private Integer shopId;//店铺id
	private Integer type;//备用字段
	private Integer userId;//用户id
	private String beginDate;//查询用开始日期
	private String endDate;//查询用结束日期
	private String name;//查询用姓名
	private String phone;//查询用手机号
	private Integer roleId;//角色id
	private String code;//查询用订单编号
	

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public String getSearchKey() {
		return searchKey;
	}
	public void setSearchKey(String searchKey) {
		this.searchKey = searchKey;
	}
	public String getSearchValue() {
		return searchValue;
	}
	public void setSearchValue(String searchValue) {
		this.searchValue = searchValue;
	}
	
	
	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
	public ParmsModel() {
		super();
	}
	
	public String getBeginDate() {
		return beginDate;
	}

	public void setBeginDate(String beginDate) {
		this.beginDate = beginDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public ParmsModel(Integer page, Integer limit) {
		super();
		this.page = page;
		this.limit = limit;
	}
	
	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public ParmsModel(Integer page, Integer limit, Integer shopId) {
		super();
		this.page = page;
		this.limit = limit;
		this.shopId = shopId;
	}

	public ParmsModel(Integer page, Integer limit, String searchKey, String searchValue) {
		super();
		this.page = page;
		this.limit = limit;
		this.searchKey = searchKey;
		this.searchValue = searchValue;
	}
	public ParmsModel(Integer page, Integer limit, String searchKey, String searchValue, Integer shopId) {
		super();
		this.page = page;
		this.limit = limit;
		this.searchKey = searchKey;
		this.searchValue = searchValue;
		this.shopId = shopId;
	}
	
	

	public ParmsModel(String beginDate, String endDate,Integer page, Integer limit,Integer shopId) {
		super();
		this.beginDate = beginDate;
		this.endDate = endDate;
		this.page = page;
		this.limit = limit;
		this.shopId = shopId;
		
	}

	public ParmsModel(Integer page,Integer roleId, Integer limit, String name, String phone) {
		super();
		this.page = page;
		this.limit = limit;
		this.name = name;
		this.phone = phone;
		this.roleId = roleId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	

}
